package com.joolun.activity.domain;

import com.joolun.common.annotation.Excel;
import com.joolun.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 投票对象 vote_info
 *
 * @author www.joolun.com
 * @date 2023-01-18
 */
public class VoteInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** PK */
    private String id;

    /** 作品编号 */
    @Excel(name = "作品编号")
    private String shareCode;

    /** 投票人 */
    @Excel(name = "投票人")
    private String openId;

    private String type;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setShareCode(String shareCode)
    {
        this.shareCode = shareCode;
    }

    public String getShareCode()
    {
        return shareCode;
    }
    public void setOpenId(String openId)
    {
        this.openId = openId;
    }

    public String getOpenId()
    {
        return openId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("shareCode", getShareCode())
            .append("openId", getOpenId())
            .append("createTime", getCreateTime())
            .append("type", getType())
            .toString();
    }
}
